Deletes the selected items